(
  (method_declaration
    (formal_parameters
      (simple_parameter 
        type: (named_type) @param_type
      )*
    )
    return_type: (named_type) @return_type
  )
)